using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.LdtAnalysissource {

	/// <summary>
	/// （要素类型关系）
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class ElementType {

		/// <summary>
		/// 主键
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
		public string ET_ID { get; set; }

		/// <summary>
		/// 外键ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(36)")]
		public string SD_ID { get; set; }

		/// <summary>
		/// （要素数据类型编号）目前暂定案件要素存储0001，案由存储案由ID
		/// </summary>
		[JsonProperty]
		public int? ET_TypeCode { get; set; }

		/// <summary>
		/// （要素数据类型中文名称）
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(100)")]
		public string ET_TypeName { get; set; }

	}

}
